scrolledwindow: Document overlay scrolling style classes
authorMatthias Clasen <mclasen@redhat.com>
Sat, 7 Nov 2015 04:35:20 +0000 (23:35 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 7 Nov 2015 04:35:20 +0000 (23:35 -0500)
Document which style classes are used on scrollbars to
implement overlay scrolling.

gtk/gtkscrollbar.c
gtk/gtkscrolledwindow.c

index 29e8e63dbf62f6f654556189550fbe584329e1d4..06ddc506bfd231f64b85e8fa689417c93115dff8 100644 (file)
  * If steppers are enabled, they are represented by up to four additional
  * subnodes with name button. These get the style classes .up and .down to
  * indicate in which direction they are moving.
+ *
+ * Other style classes that may be added to scrollbars inside #GtkScrolledWindow
+ * include the positional classes (.left, .right, .top, .bottom) and style
+ * classes related to overlay scrolling (.overlay-indicator, .dragging, .hovering).
  */
 
 
index ef55d40534ef74ad782af693828b045dfa8280e5..da37c0d4fb7407c28b0a44a4943717bf83f8640f 100644 (file)
  * on where the indication is drawn.
  *
  * GtkScrolledWindow also sets the positional style classes (.left,
- * .right, .top, .bottom) on the scrollbars.
+ * .right, .top, .bottom) and style classes related to overlay
+ * scrolling (.overlay-indicator, .dragging, .hovering) on its scrollbars.
  *
  * If both scrollbars are visible, the area where they meet is drawn
  * with a subnode named junction.